package com.cdck.safe.dete.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (Booking)实体类
 *
 * @author wp
 * @since 2024-02-25 16:43:26
 */
@Data
public class BookingVO implements Serializable {
    private static final long serialVersionUID = 679871811018096174L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 预约人id
     */
    private Long userId;

    /**
     * 预约人
     */
    private String bookUser;
    /**
     * 座位id
     */
    private Long labId;
    private String labNo;

    private String  labName;
    /**
     * 座位id
     */
    private Long seatId;
    private String seatNo;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 逻辑删除
     */
    private Integer deleted;
    /**
     * 预约开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("开始时间")
    private Date bookStartTime;
    /**
     * 预约结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("结束时间")
    private Date bookEndTime;
    /**
     * 0 待审核 1 驳回 2 通过
     */
    private Integer status;
    /**
     * 驳回理由
     */
    private String reason;


}

